From: Florian Müllner Date: Mon, 19 Apr 2021 15:46:23 +0000 (+0200) Subject: audioDeviceSelection: Move a method to the new coding style ... X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~56 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7935da6168aa262781cc5d95f94b63fe54c04124;p=gnome-shell.git audioDeviceSelection: Move a method to the new coding style ... ... before touching its code in the next commit. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139 Part-of: --- diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js index 07b817133..abd8efaae 100644 --- a/js/ui/audioDeviceSelection.js +++ b/js/ui/audioDeviceSelection.js @@ -51,12 +51,16 @@ var AudioDeviceSelectionDialog = GObject.registerClass({ this.contentLayout.add_child(content); if (Main.sessionMode.allowSettings) { - this.addButton({ action: this._openSettings.bind(this), - label: _("Sound Settings") }); + this.addButton({ + action: this._openSettings.bind(this), + label: _('Sound Settings'), + }); } - this.addButton({ action: this.close.bind(this), - label: _("Cancel"), - key: Clutter.KEY_Escape }); + this.addButton({ + action: this.close.bind(this), + label: _('Cancel'), + key: Clutter.KEY_Escape, + }); } _getDeviceLabel(device) {